CreateOpenChannelViewModel

open class CreateOpenChannelViewModel : BaseViewModel

ViewModel preparing and managing data when creating a channel since 3.2.0

Functions

Link copied to clipboard
open fun authenticate(@NonNull handler: AuthenticateHandler)
Tries to connect Sendbird Server and retrieve a channel instance.
Link copied to clipboard
open fun createOpenChannel(@NonNull params: OpenChannelCreateParams, @Nullable handler: OpenChannelCallbackHandler)
Creates a open channel.
Link copied to clipboard
protected open fun onCleared()